package cn.HRMS.filesManagements.serviceImpl;

import java.util.ArrayList;
import java.util.List;

import cn.HRMS.dao.UsersDAO;
import cn.HRMS.filesManagements.service.showFilesService;
import cn.HRMS.modle.Users;

public class showFilesServiceImpl implements showFilesService{
	public List<Users> doShow(String userId, String fId){
		Users users = new Users();
		UsersDAO usersdao = new UsersDAO();
		List<Users> usersList = new ArrayList<Users>();
		
		System.out.println(userId);
		usersList = usersdao.findAll();
		if(userId.equals("0"))
			return null;
		return usersList;
	}
}
